package com.dq.controller.in.query;

import com.dq.controller.in.base.BaseAdminQuery;
import com.dq.domain.orders.UserOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liuhui
 * @date 2019/9/17 0017 17:59:39
 */
@Data
@ApiModel("订单列表")
public class OrderListQuery extends BaseAdminQuery {
    @ApiModelProperty("订单状态")
    @NotBlank(message = "userOrder status is null")
    public UserOrder.UserOrderStatus status;

    @ApiModelProperty(value = "门店", hidden = true)
    public Long orgId;
}
